package situ.autoweter.entity;

import com.alibaba.fastjson.JSONObject;
import java.util.*;
import java.time.*;
/**
 * US_User实体类
 * 
 * @author 
 *
 */
public class UsUser {
	/***/
	private String UserNo; 
	/***/
	private String UserName; 
	/***/
	private String ABC; 
	/***/
	private java.time.Instant CreateDate; 
	/***/
	private String Address; 
	/***/
	private String Phone; 
	/***/
	private String SMSPhone; 
	/***/
	private Integer AreaID; 
	/***/
	private String UserType; 
	/***/
	private String PayType; 
	/***/
	private String BankName; 
	/***/
	private String BankNum; 
	/***/
	private String Formula; 
	/***/
	private Double UserMoney; 
	/***/
	private Integer MeterID; 
	/***/
	private String DocNum; 
	/***/
	private String Pwd; 
	/***/
	private String ContractNum; 
	/***/
	private java.time.Instant ContractDate; 
	/***/
	private Integer VolumeID; 
	/***/
	private Integer VolumeOrderIndex; 
	/***/
	private Integer Disabled;
	/**
	 * 实例化
	 */
	public UsUser() {
		super();
	}
	/**
	 * 实例化
	 * 
	 * @param obj
	 */
	public UsUser(JSONObject obj) {
		this();
		if (obj.get("UserNo") instanceof String) {
			this.setUserNo((String) obj.get("UserNo"));
		}
		if (obj.get("UserName") instanceof String) {
			this.setUserName((String) obj.get("UserName"));
		}
		if (obj.get("ABC") instanceof String) {
			this.setABC((String) obj.get("ABC"));
		}
		if (obj.get("CreateDate") instanceof java.time.Instant) {
			this.setCreateDate((java.time.Instant) obj.get("CreateDate"));
		}
		if (obj.get("Address") instanceof String) {
			this.setAddress((String) obj.get("Address"));
		}
		if (obj.get("Phone") instanceof String) {
			this.setPhone((String) obj.get("Phone"));
		}
		if (obj.get("SMSPhone") instanceof String) {
			this.setSMSPhone((String) obj.get("SMSPhone"));
		}
		if (obj.get("AreaID") instanceof Number) {
			this.setAreaID(((Number) obj.get("AreaID")).intValue());
		}
		if (obj.get("UserType") instanceof String) {
			this.setUserType((String) obj.get("UserType"));
		}
		if (obj.get("PayType") instanceof String) {
			this.setPayType((String) obj.get("PayType"));
		}
		if (obj.get("BankName") instanceof String) {
			this.setBankName((String) obj.get("BankName"));
		}
		if (obj.get("BankNum") instanceof String) {
			this.setBankNum((String) obj.get("BankNum"));
		}
		if (obj.get("Formula") instanceof String) {
			this.setFormula((String) obj.get("Formula"));
		}
		if (obj.get("UserMoney") instanceof Number) {
			this.setUserMoney(((Number) obj.get("UserMoney")).doubleValue());
		}
		if (obj.get("MeterID") instanceof Number) {
			this.setMeterID(((Number) obj.get("MeterID")).intValue());
		}
		if (obj.get("DocNum") instanceof String) {
			this.setDocNum((String) obj.get("DocNum"));
		}
		if (obj.get("Pwd") instanceof String) {
			this.setPwd((String) obj.get("Pwd"));
		}
		if (obj.get("ContractNum") instanceof String) {
			this.setContractNum((String) obj.get("ContractNum"));
		}
		if (obj.get("ContractDate") instanceof java.time.Instant) {
			this.setContractDate((java.time.Instant) obj.get("ContractDate"));
		}
		if (obj.get("VolumeID") instanceof Number) {
			this.setVolumeID(((Number) obj.get("VolumeID")).intValue());
		}
		if (obj.get("VolumeOrderIndex") instanceof Number) {
			this.setVolumeOrderIndex(((Number) obj.get("VolumeOrderIndex")).intValue());
		}
		if (obj.get("Disabled") instanceof Number) {
			this.setDisabled(((Number) obj.get("Disabled")).intValue());
		}
	}
	
	/**
	 * 将当前对象转换为JsonObject
	 * 
	 * @return
	 */
	public JSONObject toJson() {
		JSONObject result = new JSONObject();
		if (this.getUserNo() != null) {
			result.put("UserNo",this.getUserNo());
		}
		if (this.getUserName() != null) {
			result.put("UserName",this.getUserName());
		}
		if (this.getABC() != null) {
			result.put("ABC",this.getABC());
		}
		if (this.getCreateDate() != null) {
			result.put("CreateDate",this.getCreateDate());
		}
		if (this.getAddress() != null) {
			result.put("Address",this.getAddress());
		}
		if (this.getPhone() != null) {
			result.put("Phone",this.getPhone());
		}
		if (this.getSMSPhone() != null) {
			result.put("SMSPhone",this.getSMSPhone());
		}
		if (this.getAreaID() != null) {
			result.put("AreaID",this.getAreaID());
		}
		if (this.getUserType() != null) {
			result.put("UserType",this.getUserType());
		}
		if (this.getPayType() != null) {
			result.put("PayType",this.getPayType());
		}
		if (this.getBankName() != null) {
			result.put("BankName",this.getBankName());
		}
		if (this.getBankNum() != null) {
			result.put("BankNum",this.getBankNum());
		}
		if (this.getFormula() != null) {
			result.put("Formula",this.getFormula());
		}
		if (this.getUserMoney() != null) {
			result.put("UserMoney",this.getUserMoney());
		}
		if (this.getMeterID() != null) {
			result.put("MeterID",this.getMeterID());
		}
		if (this.getDocNum() != null) {
			result.put("DocNum",this.getDocNum());
		}
		if (this.getPwd() != null) {
			result.put("Pwd",this.getPwd());
		}
		if (this.getContractNum() != null) {
			result.put("ContractNum",this.getContractNum());
		}
		if (this.getContractDate() != null) {
			result.put("ContractDate",this.getContractDate());
		}
		if (this.getVolumeID() != null) {
			result.put("VolumeID",this.getVolumeID());
		}
		if (this.getVolumeOrderIndex() != null) {
			result.put("VolumeOrderIndex",this.getVolumeOrderIndex());
		}
		if (this.getDisabled() != null) {
			result.put("Disabled",this.getDisabled());
		}
		return result;
	}
	
	
	/**
	 * 获取UserNo
	 * 
	 * @return
	 */
	public String getUserNo() {
		return UserNo;
	}

	/**
	 * 设置UserNo
	 * 
	 * @param UserNo
	 */
	public void setUserNo(String UserNo) {
		this.UserNo = UserNo;
	}
	
	/**
	 * 获取UserName
	 * 
	 * @return
	 */
	public String getUserName() {
		return UserName;
	}

	/**
	 * 设置UserName
	 * 
	 * @param UserName
	 */
	public void setUserName(String UserName) {
		this.UserName = UserName;
	}
	
	/**
	 * 获取ABC
	 * 
	 * @return
	 */
	public String getABC() {
		return ABC;
	}

	/**
	 * 设置ABC
	 * 
	 * @param ABC
	 */
	public void setABC(String ABC) {
		this.ABC = ABC;
	}
	
	/**
	 * 获取CreateDate
	 * 
	 * @return
	 */
	public java.time.Instant getCreateDate() {
		return CreateDate;
	}

	/**
	 * 设置CreateDate
	 * 
	 * @param CreateDate
	 */
	public void setCreateDate(java.time.Instant CreateDate) {
		this.CreateDate = CreateDate;
	}
	
	/**
	 * 获取Address
	 * 
	 * @return
	 */
	public String getAddress() {
		return Address;
	}

	/**
	 * 设置Address
	 * 
	 * @param Address
	 */
	public void setAddress(String Address) {
		this.Address = Address;
	}
	
	/**
	 * 获取Phone
	 * 
	 * @return
	 */
	public String getPhone() {
		return Phone;
	}

	/**
	 * 设置Phone
	 * 
	 * @param Phone
	 */
	public void setPhone(String Phone) {
		this.Phone = Phone;
	}
	
	/**
	 * 获取SMSPhone
	 * 
	 * @return
	 */
	public String getSMSPhone() {
		return SMSPhone;
	}

	/**
	 * 设置SMSPhone
	 * 
	 * @param SMSPhone
	 */
	public void setSMSPhone(String SMSPhone) {
		this.SMSPhone = SMSPhone;
	}
	
	/**
	 * 获取AreaID
	 * 
	 * @return
	 */
	public Integer getAreaID() {
		return AreaID;
	}

	/**
	 * 设置AreaID
	 * 
	 * @param AreaID
	 */
	public void setAreaID(Integer AreaID) {
		this.AreaID = AreaID;
	}
	
	/**
	 * 获取UserType
	 * 
	 * @return
	 */
	public String getUserType() {
		return UserType;
	}

	/**
	 * 设置UserType
	 * 
	 * @param UserType
	 */
	public void setUserType(String UserType) {
		this.UserType = UserType;
	}
	
	/**
	 * 获取PayType
	 * 
	 * @return
	 */
	public String getPayType() {
		return PayType;
	}

	/**
	 * 设置PayType
	 * 
	 * @param PayType
	 */
	public void setPayType(String PayType) {
		this.PayType = PayType;
	}
	
	/**
	 * 获取BankName
	 * 
	 * @return
	 */
	public String getBankName() {
		return BankName;
	}

	/**
	 * 设置BankName
	 * 
	 * @param BankName
	 */
	public void setBankName(String BankName) {
		this.BankName = BankName;
	}
	
	/**
	 * 获取BankNum
	 * 
	 * @return
	 */
	public String getBankNum() {
		return BankNum;
	}

	/**
	 * 设置BankNum
	 * 
	 * @param BankNum
	 */
	public void setBankNum(String BankNum) {
		this.BankNum = BankNum;
	}
	
	/**
	 * 获取Formula
	 * 
	 * @return
	 */
	public String getFormula() {
		return Formula;
	}

	/**
	 * 设置Formula
	 * 
	 * @param Formula
	 */
	public void setFormula(String Formula) {
		this.Formula = Formula;
	}
	
	/**
	 * 获取UserMoney
	 * 
	 * @return
	 */
	public Double getUserMoney() {
		return UserMoney;
	}

	/**
	 * 设置UserMoney
	 * 
	 * @param UserMoney
	 */
	public void setUserMoney(Double UserMoney) {
		this.UserMoney = UserMoney;
	}
	
	/**
	 * 获取MeterID
	 * 
	 * @return
	 */
	public Integer getMeterID() {
		return MeterID;
	}

	/**
	 * 设置MeterID
	 * 
	 * @param MeterID
	 */
	public void setMeterID(Integer MeterID) {
		this.MeterID = MeterID;
	}
	
	/**
	 * 获取DocNum
	 * 
	 * @return
	 */
	public String getDocNum() {
		return DocNum;
	}

	/**
	 * 设置DocNum
	 * 
	 * @param DocNum
	 */
	public void setDocNum(String DocNum) {
		this.DocNum = DocNum;
	}
	
	/**
	 * 获取Pwd
	 * 
	 * @return
	 */
	public String getPwd() {
		return Pwd;
	}

	/**
	 * 设置Pwd
	 * 
	 * @param Pwd
	 */
	public void setPwd(String Pwd) {
		this.Pwd = Pwd;
	}
	
	/**
	 * 获取ContractNum
	 * 
	 * @return
	 */
	public String getContractNum() {
		return ContractNum;
	}

	/**
	 * 设置ContractNum
	 * 
	 * @param ContractNum
	 */
	public void setContractNum(String ContractNum) {
		this.ContractNum = ContractNum;
	}
	
	/**
	 * 获取ContractDate
	 * 
	 * @return
	 */
	public java.time.Instant getContractDate() {
		return ContractDate;
	}

	/**
	 * 设置ContractDate
	 * 
	 * @param ContractDate
	 */
	public void setContractDate(java.time.Instant ContractDate) {
		this.ContractDate = ContractDate;
	}
	
	/**
	 * 获取VolumeID
	 * 
	 * @return
	 */
	public Integer getVolumeID() {
		return VolumeID;
	}

	/**
	 * 设置VolumeID
	 * 
	 * @param VolumeID
	 */
	public void setVolumeID(Integer VolumeID) {
		this.VolumeID = VolumeID;
	}
	
	/**
	 * 获取VolumeOrderIndex
	 * 
	 * @return
	 */
	public Integer getVolumeOrderIndex() {
		return VolumeOrderIndex;
	}

	/**
	 * 设置VolumeOrderIndex
	 * 
	 * @param VolumeOrderIndex
	 */
	public void setVolumeOrderIndex(Integer VolumeOrderIndex) {
		this.VolumeOrderIndex = VolumeOrderIndex;
	}
	
	/**
	 * 获取Disabled
	 * 
	 * @return
	 */
	public Integer getDisabled() {
		return Disabled;
	}

	/**
	 * 设置Disabled
	 * 
	 * @param Disabled
	 */
	public void setDisabled(Integer Disabled) {
		this.Disabled = Disabled;
	}

	@Override
	public String toString() {
		return "UsUser [UserNo=" + UserNo + " , UserName=" + UserName + " , ABC=" + ABC + " , CreateDate=" + CreateDate + " , Address=" + Address + " , Phone=" + Phone + " , SMSPhone=" + SMSPhone + " , AreaID=" + AreaID + " , UserType=" + UserType + " , PayType=" + PayType + " , BankName=" + BankName + " , BankNum=" + BankNum + " , Formula=" + Formula + " , UserMoney=" + UserMoney + " , MeterID=" + MeterID + " , DocNum=" + DocNum + " , Pwd=" + Pwd + " , ContractNum=" + ContractNum + " , ContractDate=" + ContractDate + " , VolumeID=" + VolumeID + " , VolumeOrderIndex=" + VolumeOrderIndex + " , Disabled=" + Disabled + "  ]";
	
	}
}
